from django.db import models

class Task(models.Model):
    name = models.CharField(maxlength=100)
    description = models.TextField()

class SubTask(models.Model):
    task = models.ForeignKey(Task)
    name = models.CharField(maxlength=100)
    description = models.TextField()
